export const widgetBorder =  {
  code: 'widget-border',
  type: 'ornament',
  label: '边框',
  icon: 'border',
  preview: require('./preview/widget-border.png'),
  options: {
    // 配置
    setup: [
      {
        type: 'a-input-text',
        label: '图层名称：',
        name: 'layerName',
        required: false,
        placeholder: '',
        value: '边框'
      }, {
        type: 'a-select',
        label: '边框样式',
        name: 'border',
        required: false,
        placeholder: '',
        selectOptions: [
          {code: 'dv-border-box1', name: '边框1'},
          {code: 'dv-border-box2', name: '边框2'},
          {code: 'dv-border-box3', name: '边框3'},
          {code: 'dv-border-box4', name: '边框4'},
          {code: 'dv-border-box5', name: '边框5'},
          {code: 'dv-border-box6', name: '边框6'},
          {code: 'dv-border-box7', name: '边框7'},
          {code: 'dv-border-box8', name: '边框8'},
          {code: 'dv-border-box9', name: '边框9'},
          {code: 'dv-border-box10', name: '边框10'},
          {code: 'dv-border-box11', name: '边框11'},
          {code: 'dv-border-box12', name: '边框12'},
          {code: 'dv-border-box13', name: '边框13'},
        ],
        value: 'dv-border-box1'
      }, {
        type: 'a-select',
        label: '方向',
        name: 'reverse',
        required: false,
        placeholder: '',
        selectOptions: [
          {code: false, name: '正向'},
          {code: true, name: '反向'}
        ],
        value: false
      },
      {
        type: 'a-input-number',
        label: '动画时常：',
        name: 'dur',
        required: false,
        placeholder: '',
        value: 3
      },
      {
        type: 'a-input-text',
        label: '标题内容：',
        name: 'title',
        required: false,
        placeholder: '',
        value: '我是标题'
      },
      {
        type: 'a-input-number',
        label: '标题宽度：',
        name: 'titleWidth',
        required: false,
        placeholder: '',
        value: 250
      },
      {
        type: 'custom-color',
        label: '配色',
        name: 'customColor',
        limit: 2,
        required: false,
        value: [{color: '#235fa7'}, {color: '#4fd2dd'}],
      },
      {
        type: 'vue-color',
        label: '背景颜色',
        name: 'backgroundColor',
        required: false,
        placeholder: '',
        value: ''
      }
    ],
    // 数据
    data: [],
    // 坐标
    position: [
      {
        type: 'a-input-number',
        label: '横坐标',
        name: 'left',
        required: false,
        placeholder: '',
        value: 0,
      },
      {
        type: 'a-input-number',
        label: '纵坐标',
        name: 'top',
        required: false,
        placeholder: '',
        value: 0,
      },
      {
        type: 'a-input-number',
        label: '深度',
        name: 'zIndex',
        required: false,
        placeholder: '',
        value: 0,
      },
      {
        type: 'a-input-number',
        label: '宽度',
        name: 'width',
        required: false,
        placeholder: '该容器在1920px大屏中的宽度',
        value: 300,
      },
      {
        type: 'a-input-number',
        label: '高度',
        name: 'height',
        required: false,
        placeholder: '该容器在1080px大屏中的高度',
        value: 200
      },
    ],
  }
}